package com.example.demo.service.impl;

import com.example.demo.dao.OrderChildFormDao;
import com.example.demo.pojo.OrderChildForm;
import com.example.demo.service.OrderChildFormService;
import com.example.demo.service.OrderFormService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("orderChildFormService")
public class OrderChildFormImpl implements OrderChildFormService {
    @Resource(name = "orderChildFormDao")
    private OrderChildFormDao orderChildFormDao;
    @Override
    public int deleteByPrimaryKey(Integer orderchildid) {
        return orderChildFormDao.deleteByPrimaryKey(orderchildid);
    }

    @Override
    public int insert(OrderChildForm record) {
        return orderChildFormDao.insert(record);
    }

    @Override
    public int insertSelective(OrderChildForm record) {
        return orderChildFormDao.insertSelective(record);
    }

    @Override
    public OrderChildForm selectByPrimaryKey(Integer orderchildid) {
        return orderChildFormDao.selectByPrimaryKey(orderchildid);
    }

    @Override
    public int updateByPrimaryKeySelective(OrderChildForm record) {
        return orderChildFormDao.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(OrderChildForm record) {
        return orderChildFormDao.updateByPrimaryKey(record);
    }
}
